home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_79.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  154KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky | tree
OCR: Lesson 15 I-75 But when the degree value is not zero, much more happens. The quadrant value is ANDed with on line 22 and tested to see if is or so then the degree value recalled and has 90 degrees subtracted from on line 25 (sine values increase to 90 degrees then decrease to 180 in reverse mirror image) Otherwi /ise, just the degree value is placed on the stack again on line 26 In line 28 the AT selector takes the index value currently on the stack Git also happens to be the degree to be checked in the sine table) and fetches the value from the Sines array. The "self" notation tells Mops to pform the AT: fetch on the Sines object. That AT: fetch operation places the sine value from the table on the stack One last job remains -to detemine if the sine value IS positive or negative The quadr ...